#include <string>
#include "libevent_cpp/include/include_all.h"
#include "log_def.h"
#include "server.h"
#include "svr_util/include/su_mgr.h"
#include "svr_util/include/single_progress.h"
#include <signal.h>
#include "inner_con.h"
#include "external_con.h"
#include "BaseAppMgr.h"

using namespace su;
using namespace std;


class AccApp : public BaseAppMgr, public Singleton<AccApp>
{
public:
	virtual bool OnStart() override
	{
		L_COND_F(Server::Ins().Init());
		return true;
	}
	virtual void OnExit() override 
	{

	}
};

int main(int argc, char* argv[])
{
	AccApp::Ins().Start(argc, argv, "acc_svr");

	return 0;
}

